package model;

import java.util.*;

import vue.ObserveurPlateau;

/**
 * Class Plateau
 */
public class Plateau extends Observable<List<Case>, ObserveurPlateau> {

	//
	// Fields
	//

	private Case[][] cases;

	//
	// Constructors
	//
	public Plateau(){
		
		this(8,8);
	}
	
	public Plateau(int x, int y) {
		
		cases = new Case[x][y];
	}


	//
	// Methods
	//

	//
	// Accessor methods
	//

	/**
	 * Set the value of cases
	 * 
	 * @param newVar
	 *            the new value of cases
	 */
	public void setCases(Case[][] newVar) {
		
		cases = newVar;
	}

	/**
	 * Get the value of cases
	 * 
	 * @return the value of cases
	 */
	public Case[][] getCases() {
		
		return cases;
	}

	//
	// Other methods
	//

}
